package com.xsdl.proxy.impl;


public class UserServiceImplProxy implements UserService {

    private UserServiceImpl userService;

    public UserServiceImplProxy(UserServiceImpl userService) {
        this.userService = userService;
    }

    @Override
    public void test() {
        long start = System.currentTimeMillis();
        userService.test();
        long end = System.currentTimeMillis();
        System.out.println("test耗时:" + (end - start) + "ms");
    }

}
